package cn.sheep.cms

import org.apache.commons.pool2.impl.GenericObjectPoolConfig
import redis.clients.jedis.{Jedis, JedisPool}

object Deom {
    def main(args: Array[String]): Unit = {
        val a = List(1,2,3,4)
        val b = List(10,10,10,10)

        val tuples: List[(Int, Int)] = a.zip(b)
//        (1,10)
//        (2,10)
//        (3,10)
//        (4,10)
        tuples.map(s=>{
            println(s._2+s._1)
        })

    }

}
